from django.db import models

# Create your models here.

class API_TEST(models.Model):
    name = models.CharField("用例名称",max_length=20)
    path = models.FileField("用例文件", upload_to="test_data/%Y_%m_%d_%H_%M/")
    status = models.IntegerField("测试状态",choices=[
        (0,"未执行状态"),
        (1,"正在执行"),
        (2,"生成测试报告"),
        (3,"执行完毕")
    ])